package com.lxmes.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 物料领用计划对象 cc_plan_item_get
 *
 * @author 张志煜
 * @date 2023-01-15
 */
public class CcPlanItemGet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 公司名称 */
    private String factoryName;

    /** 公司代码 */
    private String factoryCode;

    /** 领用计划号 */
    @Excel(name = "领用计划号")
    private String lyDanhao;

    /** 领用计划数量 */
    @Excel(name = "领用计划数量")
    private BigDecimal jhNum;

    /** 销售订单编号 */
    @Excel(name = "销售订单编号")
    private String orderDanhao;

    /** 订单类型 */
    @Excel(name = "订单类型")
    private String orderType;

    /** 出库类型 */
    @Excel(name = "出库类型")
    private Long chukuType;

    /** 物料类型编码 */
    @Excel(name = "物料类型编码")
    private String classId;

    /** 物料类型 */
    @Excel(name = "物料类型")
    private String className;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemName;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String itemId;

    /** 物料子编号 */
    @Excel(name = "物料子编号")
    private String itemCode;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String spec;

    /** 物料单位 */
    @Excel(name = "物料单位")
    private String unit;

    /** 供应商编码 */
    @Excel(name = "供应商编码")
    private Long supplyId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplyName;

    /** 制造商编码 */
    @Excel(name = "制造商编码")
    private String makerCode;

    /** 制造商名称 */
    @Excel(name = "制造商名称")
    private String makerName;

    /** 派工工位编码 */
    @Excel(name = "派工工位编码")
    private String gwCode;

    /** 派工工位名称 */
    @Excel(name = "派工工位名称")
    private String gwName;

    /** 质量状态 */
    @Excel(name = "质量状态")
    private String qualityState;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private String useState;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 花纹 */
    @Excel(name = "花纹")
    private String figure;

    /** 材质 */
    @Excel(name = "材质")
    private String caizhi;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setLyDanhao(String lyDanhao)
    {
        this.lyDanhao = lyDanhao;
    }

    public String getLyDanhao()
    {
        return lyDanhao;
    }
    public void setJhNum(BigDecimal jhNum)
    {
        this.jhNum = jhNum;
    }

    public BigDecimal getJhNum()
    {
        return jhNum;
    }
    public void setOrderDanhao(String orderDanhao)
    {
        this.orderDanhao = orderDanhao;
    }

    public String getOrderDanhao()
    {
        return orderDanhao;
    }
    public void setOrderType(String orderType)
    {
        this.orderType = orderType;
    }

    public String getOrderType()
    {
        return orderType;
    }
    public void setChukuType(Long chukuType)
    {
        this.chukuType = chukuType;
    }

    public Long getChukuType()
    {
        return chukuType;
    }
    public void setClassId(String classId)
    {
        this.classId = classId;
    }

    public String getClassId()
    {
        return classId;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }

    public String getItemName()
    {
        return itemName;
    }
    public void setItemId(String itemId)
    {
        this.itemId = itemId;
    }

    public String getItemId()
    {
        return itemId;
    }
    public void setItemCode(String itemCode)
    {
        this.itemCode = itemCode;
    }

    public String getItemCode()
    {
        return itemCode;
    }
    public void setSpec(String spec)
    {
        this.spec = spec;
    }

    public String getSpec()
    {
        return spec;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setSupplyId(Long supplyId)
    {
        this.supplyId = supplyId;
    }

    public Long getSupplyId()
    {
        return supplyId;
    }
    public void setSupplyName(String supplyName)
    {
        this.supplyName = supplyName;
    }

    public String getSupplyName()
    {
        return supplyName;
    }
    public void setMakerCode(String makerCode)
    {
        this.makerCode = makerCode;
    }

    public String getMakerCode()
    {
        return makerCode;
    }
    public void setMakerName(String makerName)
    {
        this.makerName = makerName;
    }

    public String getMakerName()
    {
        return makerName;
    }
    public void setGwCode(String gwCode)
    {
        this.gwCode = gwCode;
    }

    public String getGwCode()
    {
        return gwCode;
    }
    public void setGwName(String gwName)
    {
        this.gwName = gwName;
    }

    public String getGwName()
    {
        return gwName;
    }
    public void setQualityState(String qualityState)
    {
        this.qualityState = qualityState;
    }

    public String getQualityState()
    {
        return qualityState;
    }
    public void setUseState(String useState)
    {
        this.useState = useState;
    }

    public String getUseState()
    {
        return useState;
    }
    public void setColor(String color)
    {
        this.color = color;
    }

    public String getColor()
    {
        return color;
    }
    public void setFigure(String figure)
    {
        this.figure = figure;
    }

    public String getFigure()
    {
        return figure;
    }
    public void setCaizhi(String caizhi)
    {
        this.caizhi = caizhi;
    }

    public String getCaizhi()
    {
        return caizhi;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("lyDanhao", getLyDanhao())
            .append("jhNum", getJhNum())
            .append("orderDanhao", getOrderDanhao())
            .append("orderType", getOrderType())
            .append("chukuType", getChukuType())
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("itemName", getItemName())
            .append("itemId", getItemId())
            .append("itemCode", getItemCode())
            .append("spec", getSpec())
            .append("unit", getUnit())
            .append("supplyId", getSupplyId())
            .append("supplyName", getSupplyName())
            .append("makerCode", getMakerCode())
            .append("makerName", getMakerName())
            .append("gwCode", getGwCode())
            .append("gwName", getGwName())
            .append("qualityState", getQualityState())
            .append("useState", getUseState())
            .append("color", getColor())
            .append("figure", getFigure())
            .append("caizhi", getCaizhi())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
